package com.leisurexi.gedis.client.protocol;

/**
 * 数据包
 *
 * Request protocol
 * +---------------+---------+--------------+-----------+------------+-------------+-----------+--------------+-----------+
 * | Header Gedis  | version | command code |   length  | arg count  | arg1 length |    arg1   |  argN length |   argN    |
 * |    5 bytes    | 1 bytes |    1 bytes   |  4 bytes  |  1 bytes   |   4 bytes   |  N bytes  |    4 bytes   |  N bytes  |
 * +---------------+---------+--------------+-----------+------------+-------------+-----------+--------------+-----------+
 *
 * Response protocol
 * +-----------------------------+---------+--------------+-----------+------------+
 * | Result(+ success, - error)  | version | command code |   length  |    data    |
 * |          1 bytes            | 1 bytes |    1 bytes   |  4 bytes  |  N bytes   |
 * +-----------------------------+---------+--------------+-----------+------------+
 *
 * @author: leisurexi
 * @date: 2020-09-08 11:07
 */
public class Packet {


}
